package com.hellogood.yaohuo.shared.services;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.entity.Dept;


@RemoteServiceRelativePath("DeptService")
public interface DeptService extends RemoteService{
	public class Util {
		private static DeptServiceAsync instance;

		public static DeptServiceAsync getInstance() {
			if (instance == null) {
				instance = GWT.create(DeptService.class);
			}
			return instance;
		}
	}
	
	public List<Dept> getAllDeptList();


}
